//
//  CYCallCenter.h
//  CreditAddressBook
//
//  Created by LE on 15/12/3.
//  Copyright © 2015年 Lee. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CYPerson;

@interface CYCallCenter : NSObject

/**
 *  初始化通话中心
 */
+ (instancetype)sharedCallCenter;

/**
 *  拨打电话
 *
 *  @param num
 *  @param name
 *  @param person
 *  @param success
 *  @param failure
 */
- (void)callWithNumber:(NSString *)num name:(NSString *)name person:(CYPerson *)person success:(void(^)(void))success failure:(void(^)(void))failure;
@end
